<?php
/**
 * 用户会员卡关联会员信息
 * @author tangbl
 *
 */
class ActvipcardUserInfoViewModel extends ViewModel{
	
	public $viewFields = array(
		 
		'ActvipcardUser'=>array(
			'_type'=>'LEFT',
			'*',
			'_as'=>'a'
		),
		
		'MemberInfo'=>array(
				'realname',
				'nickname',
				'area',
				'address',
				'ssxadd',
				'birthday',
				'headpic',
				'phone',
				'sex',
				'_as'=>'b',
			'_on'=>'a.mobile=b.username'
		)
			
	 );
}
?>